package com.liu.security.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.liu.security.pojo.DUser;
import com.liu.security.pojo.Role;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/**
 * Created by shi860715@126.com
 * Date 2021/8/13 9:59
 * Description
 */
//@Mapper
@Repository
public interface DUserMapper extends BaseMapper<DUser> {

    DUser getUserRoles(@Param("uid" )Integer id);

    DUser getUserPermission(@Param("uid" )Integer id);
}
